[INFO] fetching crate hc14-at-rs 0.2.3...
[INFO] checking hc14-at-rs-0.2.3 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] extracting crate hc14-at-rs 0.2.3 into /workspace/builds/worker-3-tc1/source
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate hc14-at-rs 0.2.3
[INFO] finished tweaking crates.io crate hc14-at-rs 0.2.3
[INFO] tweaked toml for crates.io crate hc14-at-rs 0.2.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hc14-at-rs 0.2.3 on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate hc14-at-rs 0.2.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded at-commands v0.5.4
[INFO] [stderr]   Downloaded cortex-m-semihosting v0.5.0
[INFO] [stderr]   Downloaded alloc-cortex-m v0.4.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b972261a0b01982f76bfec0e9056944a865c48198366f2f24c39af92c84cd52
[INFO] running `Command { std: "docker" "start" "-a" "7b972261a0b01982f76bfec0e9056944a865c48198366f2f24c39af92c84cd52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b972261a0b01982f76bfec0e9056944a865c48198366f2f24c39af92c84cd52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b972261a0b01982f76bfec0e9056944a865c48198366f2f24c39af92c84cd52", kill_on_drop: false }`
[INFO] [stdout] 7b972261a0b01982f76bfec0e9056944a865c48198366f2f24c39af92c84cd52
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f154463037d086bf2a2fdd777d5d3d880a6e908ebd52a660d6741c9882d45f9
[INFO] running `Command { std: "docker" "start" "-a" "0f154463037d086bf2a2fdd777d5d3d880a6e908ebd52a660d6741c9882d45f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]    Compiling semver v1.0.20
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]     Checking gcd v2.3.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling stm32f1 v0.15.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling stm32-usbd v0.6.0
[INFO] [stderr]     Checking fugit v0.3.7
[INFO] [stderr]     Checking bare-metal v1.0.0
[INFO] [stderr]     Checking usb-device v0.2.9
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling cortex-m-semihosting v0.5.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]     Checking bxcan v0.7.0
[INFO] [stderr]     Checking embedded-dma v0.2.0
[INFO] [stderr]     Checking fugit-timer v0.1.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking linked_list_allocator v0.10.5
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking alloc-cortex-m v0.4.4
[INFO] [stderr]     Checking at-commands v0.5.4
[INFO] [stderr]    Compiling heapless v0.7.16
[INFO] [stderr]    Compiling num-derive v0.4.1
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]     Checking stm32f1xx-hal v0.10.0
[INFO] [stderr]     Checking hc14-at-rs v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/setting/baudrate.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                             ^------------
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             `FromPrimitive` is not local
[INFO] [stdout]    |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BaudRate`
[INFO] [stdout] 11 | pub enum BaudRate {
[INFO] [stdout]    |          -------- `BaudRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hc14-at-rs` (bin "hc14-at-rs") due to 1 previous error
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/setting/baudrate.rs:10:60
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                            ^----------
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            `ToPrimitive` is not local
[INFO] [stdout]    |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_BaudRate`
[INFO] [stdout] 11 | pub enum BaudRate {
[INFO] [stdout]    |          -------- `BaudRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/setting/baudrate.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^------------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `FromPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AirBaudRate`
[INFO] [stdout] 32 | pub enum AirBaudRate {
[INFO] [stdout]    |          ----------- `AirBaudRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/setting/baudrate.rs:31:47
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                               ^----------
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               `ToPrimitive` is not local
[INFO] [stdout]    |                                               move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AirBaudRate`
[INFO] [stdout] 32 | pub enum AirBaudRate {
[INFO] [stdout]    |          ----------- `AirBaudRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/setting/channel.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, ToPrimitive, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]   |                 ^----------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `ToPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Channel`
[INFO] [stdout] 7 | pub struct Channel(u8);
[INFO] [stdout]   |            ------- `Channel` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/setting/channel.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, ToPrimitive, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]   |                              ^------------
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              `FromPrimitive` is not local
[INFO] [stdout]   |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Channel`
[INFO] [stdout] 7 | pub struct Channel(u8);
[INFO] [stdout]   |            ------- `Channel` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/setting/power.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, ToPrimitive, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]   |                 ^----------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `ToPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_TransmissionPower`
[INFO] [stdout] 9 | pub struct TransmissionPower(u8);
[INFO] [stdout]   |            ----------------- `TransmissionPower` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/setting/power.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, ToPrimitive, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]   |                              ^------------
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              `FromPrimitive` is not local
[INFO] [stdout]   |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TransmissionPower`
[INFO] [stdout] 9 | pub struct TransmissionPower(u8);
[INFO] [stdout]   |            ----------------- `TransmissionPower` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `hc14_at_rs` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-98454ca90717ce78.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/82310651b93a594a3fd69015e1562186a080d94c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-54e42b35ab65fe3c.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/setting/baudrate.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                             ^------------
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             `FromPrimitive` is not local
[INFO] [stdout]    |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BaudRate`
[INFO] [stdout] 11 | pub enum BaudRate {
[INFO] [stdout]    |          -------- `BaudRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/setting/baudrate.rs:10:60
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                            ^----------
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            `ToPrimitive` is not local
[INFO] [stdout]    |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_BaudRate`
[INFO] [stdout] 11 | pub enum BaudRate {
[INFO] [stdout]    |          -------- `BaudRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hc14-at-rs` (bin "hc14-at-rs" test) due to 2 previous errors
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/setting/baudrate.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^------------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `FromPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AirBaudRate`
[INFO] [stdout] 32 | pub enum AirBaudRate {
[INFO] [stdout]    |          ----------- `AirBaudRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/setting/baudrate.rs:31:47
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                               ^----------
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               `ToPrimitive` is not local
[INFO] [stdout]    |                                               move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AirBaudRate`
[INFO] [stdout] 32 | pub enum AirBaudRate {
[INFO] [stdout]    |          ----------- `AirBaudRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/setting/channel.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, ToPrimitive, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]   |                 ^----------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `ToPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Channel`
[INFO] [stdout] 7 | pub struct Channel(u8);
[INFO] [stdout]   |            ------- `Channel` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/setting/channel.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, ToPrimitive, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]   |                              ^------------
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              `FromPrimitive` is not local
[INFO] [stdout]   |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Channel`
[INFO] [stdout] 7 | pub struct Channel(u8);
[INFO] [stdout]   |            ------- `Channel` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/setting/power.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, ToPrimitive, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]   |                 ^----------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `ToPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_TransmissionPower`
[INFO] [stdout] 9 | pub struct TransmissionPower(u8);
[INFO] [stdout]   |            ----------------- `TransmissionPower` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/setting/power.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, ToPrimitive, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]   |                              ^------------
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              `FromPrimitive` is not local
[INFO] [stdout]   |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TransmissionPower`
[INFO] [stdout] 9 | pub struct TransmissionPower(u8);
[INFO] [stdout]   |            ----------------- `TransmissionPower` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0f154463037d086bf2a2fdd777d5d3d880a6e908ebd52a660d6741c9882d45f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f154463037d086bf2a2fdd777d5d3d880a6e908ebd52a660d6741c9882d45f9", kill_on_drop: false }`
[INFO] [stdout] 0f154463037d086bf2a2fdd777d5d3d880a6e908ebd52a660d6741c9882d45f9
